<template>
	<view>

		<u-navbar title="附近门店" bgColor="#3083FB" titleStyle="color:#fff" left-icon-color="#fff" :autoBack="true"
			placeholder></u-navbar>
		<view class="bgc">
			<u-search placeholder="输入需要搜索的内容" :show-action="false" margin="20rpx"></u-search>
			<view class="history">
				<view>
					历史记录：
				</view>
				<view class="historyText">
					车百事汽车生活馆
				</view>
				<view class="historyText">
					车百事汽车生活馆
				</view>
				<view class="historyText">
					车百事汽车生活馆
				</view>
			</view>
		</view>
		<view class="body">
			<view class="header">
				<view class="headerLeft">
					车百事汽车生活馆
				</view>
				<view class="headerRight">
					500m
				</view>
			</view>
			<view class="center">
				<u-rate :count="count" :value="current" :readonly="true"></u-rate>
				<text>{{current}}分</text>
				<text class="salesVolume">销量：</text>
			</view>
			<view class="bottom">
				<view class="bottomLeft">
					<image src="../../static/logo.png"></image>
				</view>
				<view class="bottomRight">
					<view>
						营业时间:周一至周五
					</view>
					<view>
						早上8:00-晚上22:00
					</view>
					<view>
						山阳区人民路与解放路交叉口
					</view>
				</view>
			</view>
		</view>
		<view class="body">
			<view class="header">
				<view class="headerLeft">
					车百事汽车生活馆
				</view>
				<view class="headerRight">
					500m
				</view>
			</view>
			<view class="center">
				<u-rate :count="count" :value="current" :readonly="true"></u-rate>
				<text>{{current}}分</text>
				<text class="salesVolume">销量：</text>
			</view>
			<view class="bottom">
				<view class="bottomLeft">
					<image src="../../static/logo.png"></image>
				</view>
				<view class="bottomRight">
					<view>
						营业时间:周一至周五
					</view>
					<view>
						早上8:00-晚上22:00
					</view>
					<view>
						山阳区人民路与解放路交叉口
					</view>
				</view>
			</view>
		</view>
		<view class="footer">
			——暂无更多——
		</view>
		<navigator url="/pages/CarMaintenance/StoreDetail">门店详情 洗车</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				count: 5,
				current: 3,
			};
		},
		methods: {

		},

	}
</script>

<style lang="scss">
	.bgc {
		background-color: #3083FB;
		height: 320rpx;
		margin-top: -6rpx;
		padding-top: 6rpx;
	}

	.history {
		color: #fff;
		margin: 0 20rpx;
		display: flex;
		flex-wrap: wrap;
	}

	.historyText {
		// border: 1px solid red;
		font-size: 24rpx;
		margin: 10rpx;
	}

	.body {
		background-color: #fff;
		padding: 30rpx;
		width: 85%;
		margin: 0 auto;
		margin-top: -80rpx;
		margin-bottom: 100rpx;
		border-radius: 20rpx;
	}

	.header {
		display: flex;
		justify-content: space-between;
	}

	.headerLeft {
		font-size: 36rpx;
		font-weight: bold
	}

	.headerRight {
		color: #3083FB;
		font-size: 24rpx;
	}

	.center {
		display: flex;
		justify-content: flex-start;
		margin: 10rpx 0;
	}

	.salesVolume {
		margin-left: 20rpx;
	}

	.bottom {
		display: flex;
	}

	.bottomLeft image {
		width: 250rpx;
		height: 200rpx;
		// border: 1px solid red;
	}

	.bottomRight {
		font-size: 28rpx;
	}

	.bottomRight view {
		margin: 20rpx 10rpx;
	}
	.footer{
		color: #5465ff;
		font-size: 24rpx;
		text-align: center
	}
</style>